home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / internet / fnos16a5.zip / CONFIG.H < prev    next >
C/C++ Source or Header  |  1996-11-21  |  14KB  |  386 lines

  1. #ifndef _CONFIG_H
  2. #define _CONFIG_H
  3. /* This is the configuration as distributed by Marc Blakely */
  4. /* #define WHOFOR "description_goes_here" */
  5.   
  6. /* NOTE: only the below listed config files have been tested.
  7.  * Due to the virtually unlimited number of combinations of options
  8.  * in config.h, it is impossible to test each possible variation!
  9.  * Others may or may not compile and link without errors !
  10.  * Effort has been made to provide a clean set of #defines throughout
  11.  * the source to produce a good compile, but no guarantees are made.
  12.  * Your mileage may vary!!!
  13.  * tested are: distconf.h, gwconfig.h, bbsconf.h, users.h homeslip.h
  14.  */
  15.   
  16.   
  17. /* Software options */
  18.   
  19. #undef CONVERS        1 /* Conference bridge (babble-box :-) */
  20. /* Now some converse options ... see convers.c for more comments */
  21. #undef LINK        1 /* permit this convers node to be linked with others*/
  22. #undef XCONVERS        1 /* LZW Compressed convers server and links */
  23. #undef CNV_VERBOSE    1 /* Verbose msgs */
  24. #undef CNV_CHAN_NAMES    1 /* Convers named channels */
  25. #undef CNV_TOPICS    1 /* Convers channel topics are gathered */
  26. #undef CNV_CALLCHECK    1 /* Convers only allows callsigns */
  27. #undef CNV_LOCAL_CHANS    1 /* Convers local channels and msg-only channels */
  28. #undef CNV_ENHANCED_VIA    1 /* If convers user is local, "via" gives more info */
  29. #undef CNV_CHG_PERSONAL    1 /* Allow users to change personal data permanently */
  30. #undef CNV_LINKCHG_MSG    1 /* Send link-change messages in convers */
  31.  
  32. /* Use only ONE of the 2 news options: */
  33. #define NNTP     1 /* Netnews client */
  34. #undef NNTPS        1 /* Netnews client and server */
  35. #define NEWS_TO_MAIL    1 /* NNTPS emails per gateway file */
  36.  
  37. #undef STKTRACE        1 /* Include stack tracing code */
  38. #define TRACE        1 /* Include packet tracing code */
  39. #undef MONITOR     1 /* Include user-port monitor trace mode */
  40. #undef MONSTAMP        1 /* add time stamp to monitor-style trace headers */
  41. #define DIALER       1 /* SLIP/PPP redial code */
  42. #undef POP2CLIENT    1 /* POP2 client -- IAB not recommended */
  43. #define POP3CLIENT    1 /* POP3 client -- IAB draft standard */
  44. #define RDATECLI    1 /* Time Protocol client */
  45. #undef ESCAPE        1 /* Allow Unix style escape on PC */
  46. #define ATCMD        1 /* Include timed 'at' execution */
  47. #undef NR4TDISC    1 /* Include Netrom L4 timeout-disconnect */
  48. #define XMODEM       1 /* xmodem file xfer for tipmail  */
  49. #define IPACCESS     1 /* Include IP access control code */
  50. #define TCPACCESS    1 /* Include TCP access control code */
  51. #define ENCAP        1 /* Include IP encapsulation code */
  52. #undef AUTOROUTE    1 /* Include AX.25 IP auto-route code(causes problems when VC mode is used for ip) */
  53. #undef HOPPER        1 /* Include SMTP hopper code by G8FSL */
  54. #undef TRANSLATEFROM    1 /* smtp server rewrites from addrs too */
  55. #undef LOCK        1 /* Include keyboard locking */
  56. #undef AX25PASSWORD    1 /* Ask ax.25 users for their passwords */
  57. #undef TTYCALL     1 /* Include AX.25 ttylink call */
  58. #undef MULTITASK    1 /* Include Dos shell multi-tasker */
  59. #define SHELL        1 /* Include shell command */
  60. #undef SWATCH        1 /* stopWATCH code */
  61. #define UNIX_DIR_LIST    1 /* Unix-style output from DIR and ftp DIR cmds. */
  62. #undef MEMLOG        1 /* include alloc/free debugging to MEMLOG.DAT file? */
  63. #define ALLCMD        1 /* include dump,fkey,info,mail,motd,record,tail,
  64.                * taillog,upload,watch commands */
  65. #define DOSCMD        1 /* Include cd,copy,del,mkdir,pwd,ren,rmdir commands */
  66. #define MAILMSG        1 /* Include mailmsg command */
  67.   
  68. #undef SPLITSCREEN 1 /* Needed for split, netrom split, and ttylink cmds */
  69. #define STATUSWIN    1 /* Up to 3 line status window */
  70. #undef RXECHO        1 /* Echo rx packet to another iface - WG7J */
  71. #define REDIRECT    1 /* Allow cmd [options] > outfile. Use >> to append */
  72. #undef EDITOR        1 /* include internal ascii editor */
  73.             /* PICK ONE FROM CHOICES ED or TED: */
  74. #undef ED      1 /* editor uses Unix ed syntax; OK for remote sysops. ~13KB */
  75. #undef TED        1 /* editor uses TED syntax; local console only */
  76.  
  77. #define FTN     1 /* Allow FTN options (Fidonet Technical Network) */
  78.   
  79. /* Protocol options */
  80.   
  81. #undef AX25        1 /* Ax.25 support */
  82. #undef NETROM      1 /* NET/ROM network support */
  83. #undef NRS     1 /* NET/ROM async interface */
  84. #undef RIP        1 /* Include RIP routing */
  85. #define LZW        1 /* LZW-compressed sockets */
  86. #define SLIP        1 /* Serial line IP on built-in ports */
  87. #define PPP      1 /* Point-to-Point Protocol code */
  88. #define VJCOMPRESS   1 /* Van Jacobson TCP compression for SLIP */
  89. #undef RSPF        1 /* Include Radio Shortest Path First Protocol */
  90. #undef AXIP        1 /* digipeater via ip port 93 interface */
  91. #undef RARP     1 /* Include Reverse Address Resolution Protocol */
  92. #define BOOTP        1 /* Include BootP protocol */
  93.   
  94.   
  95. /* Network services */
  96.   
  97. #define SERVERS     1 /* Include TCP servers */
  98. #undef AX25SERVER  1 /* Ax.25 server */
  99. #undef NETROMSERVER    1 /* Net/rom server */
  100. #undef TELNETSERVER    1 /* Tcp telnet server */
  101. #undef RSYSOPSERVER    1 /* Tcp telnet-to-mbox-as-sysop server */
  102. #undef TRACESERVER    1 /* remote interface trace server */
  103. #undef TTYLINKSERVER   1 /* Tcp ttylink server */
  104. #undef SMTPSERVER  1 /* Tcp smtp server */
  105. #undef FTPSERVER   1 /* Tcp ftp server */
  106. #undef FINGERSERVER    1 /* Tcp finger server */
  107. #undef POP2SERVER    1 /* POP2 server -- IAB not recommended */
  108. #define POP3SERVER  1 /* POP3 server -- IAB draft standard */
  109. #undef REMOTESERVER    1 /* Udp remote server */
  110. #undef RDATESERVER  1 /* Time Protocol server */
  111. #undef ECHOSERVER   1 /* Tcp echo server */
  112. #undef DISCARDSERVER    1 /* Tcp discard server */
  113. #undef TIPSERVER   1 /* Serial port tip server */
  114. #undef DOMAINSERVER    1 /* Udp Domain Name Server */
  115. #undef TERMSERVER       1 /* Async serial interface server */
  116. #undef IDENTSERVER  1 /* RFC 1413 identification server (113/tcp) */
  117. /* Pick ONE of the following 5 callbook servers: */
  118. #undef CALLSERVER    1 /* Include BuckMaster CDROM server support */
  119. #undef ICALL        1 /* Buckmaster's international callsign database April '92 */
  120. #undef BUCKTSR        1 /* Buckmaster callsign DB via bucktsr.exe (April 95) */
  121. #undef SAMCALLB        1 /* SAM callbook server. Note that you can NOT have */
  122.               /* BOTH Buckmaster and SAM defined.If so, SAM is used */
  123. #undef QRZCALLB        1 /* QRZ callbook server. Note that you can NOT have */
  124.               /* BOTH Buckmaster and QRZ defined.If so, QRZ is used */
  125.   
  126. /* Outgoing Sessions */
  127.   
  128. #define SESSIONS    1
  129. #undef CALLCLI        1 /* Include only callbook client code (to query remote server) */
  130. #undef AX25SESSION 1 /* Connect and (if SPLITSCREEN) split commands */
  131. #undef AXUISESSION    1 /* Ax.25 unproto (axui) command */
  132. #undef NETROMSESSION   1 /* netrom connect & split iff NETROM defined */
  133. #define TELNETSESSION    1 /* telnet cmd */
  134. #define TTYLINKSESSION    1 /* ttylink cmd - split-screen chat */
  135. #undef BBSSESSION  1 /* bbs (same as telnet localhost) */
  136. #define FTPSESSION    1 /* ftp,abort,ftype, and iff LZW: ftpclzw,ftpslzw cmds */
  137. #define FINGERSESSION    1 /* finger cmd */
  138. #define PINGSESSION    1 /* ping cmd */
  139. #define HOPCHECKSESSION  1 /* IP path tracing command */
  140. #undef RLOGINSESSION    1 /* Rlogin client code */
  141. #define TIPSESSION    1 /* tip - async dumb terminal emulator */
  142. #define DIRSESSION    1 /* dir cmd */
  143. #define MORESESSION    1 /* more - view ASCII file page by page */
  144. #undef REPEATSESSION   1 /* repeat cmd */
  145. #undef LOOKSESSION 1 /* follow user activity on the bbs */
  146. #define DQUERYSESSION    1 /* Include "domain query" cmd */
  147.   
  148. /* Mailbox options */
  149.   
  150. #undef MAILBOX     1 /* Include SM0RGV mailbox server */
  151. #undef MAILCMDS    1 /* Include mail commands, S, R, V etc */
  152. #undef FILECMDS    1 /* Include D,U,W,Z commands */
  153. #undef GATECMDS    1 /* Include gateway releated commands C,E,N,NR,P,PI,T */
  154. #undef GWTRACE     1 /* Log all gateway connects to the logfile */
  155. #undef FOQ_CMDS    1 /* Include Finger, Operator, Query
  156.                * If GATECMDS and FOQ_CMDS are both undefined,
  157.                * extra code is saved! */
  158. #undef EXPIRY      1 /* Include message and bid expiry */
  159. #undef MAILFOR     1 /* Include Mailbox 'Mail for' beacon */
  160. #undef RLINE       1 /* Include BBS R:-line interpretation code */
  161. #undef MBFWD       1 /* Include Mailbox AX.25 forwarding */
  162. #undef FBBFWD        1 /* add enhanced FBB Forwarding code (no compression) */
  163. #undef FBBCMP        1 /* add FBB LZH-Compressed forwarding code */
  164. #undef FWDCTLZ        1 /* Use a CTRL-Z instead of /EX to end message forwarding */
  165. #undef USERLOG     1 /* Include last-msg-read,prompt-type user tracking */
  166. #undef REGISTER    1 /* Include User Registration option */
  167. #undef MAILERROR    1 /* Include Mail-on-error option */
  168. #undef HOLD_LOCAL_MSGS    1 /* Hold locally-originated msgs for review by sysop */
  169. #undef FWDFILE        1 /* Include forwarding-to-file (export) feature */
  170.   
  171.   
  172. /* Memory options */
  173.   
  174. #undef EMS        1 /* Include Expanded Memory Usage */
  175. #undef XMS        1 /* Include Extended Memory Usage */
  176.   
  177.   
  178. /* Software tuning parameters */
  179.   
  180. #define MTHRESH        16384    /* Default memory threshold */
  181. #define NROWS        25    /* Number of rows on screen */
  182. #define NIBUFS        5    /* Number of interrupt buffers */
  183. #define IBUFSIZE    2048    /* Size of interrupt buffers */
  184. #define NSESSIONS    10    /* Number of interactive clients */
  185. #define NAX25       24  /* Number of axip interfaces (if defined) */
  186.   
  187.  
  188. /* Hardware driver options */
  189.   
  190. #define ASY        1 /* Asynch driver code */
  191. #undef KISS        1 /* Multidrop KISS TNC code for Multiport tnc */
  192. #undef POLLEDKISS    1 /* G8BPQ Polled Multidrop KISS TNC code */
  193. #define PACKET        1 /* FTP Software's Packet Driver interface */
  194. #undef SCC     1 /* PE1CHL generic scc driver */
  195. #undef BPQ        1 /* include Bpqhost interface */
  196. #undef PACKETWIN    1 /* Gracilis PackeTwin driver */
  197. #undef PI        1 /* VE3IFB pi dma card scc driver */
  198. #undef ARCNET        1 /* ARCnet via PACKET driver */
  199. #undef PC_EC        1 /* 3-Com 3C501 Ethernet controller */
  200. #undef HS        1 /* High speed (56kbps) modem driver */
  201. #undef HAPN        1 /* Hamilton Area Packet Network driver code */
  202. #undef EAGLE        1 /* Eagle card driver */
  203. #undef PC100        1 /* PAC-COM PC-100 driver code */
  204. #undef APPLETALK    1 /* Appletalk interface (Macintosh) */
  205. #undef DRSI        1 /* DRSI PCPA slow-speed driver */
  206. #undef SLFP        1 /* SLFP packet driver class supported */
  207. #define PRINTEROK    1 /* OK to name a printer as an output device */
  208.   
  209.   
  210. /***************************************************************************/
  211. /* This section corrects some defines that include/exclude others          */
  212. /* You should not normally change anything below this line.                */
  213.   
  214. #ifdef STATUSWIN
  215. #define SPLITSCREEN    1
  216. #endif
  217.   
  218. #ifdef DIRSESSION
  219. #undef MORESESSION
  220. #define MORESESSION    1
  221. #endif
  222.   
  223. #if defined(NRS)
  224. #undef  NETROM
  225. #define NETROM        1 /* NRS implies NETROM */
  226. #endif
  227.   
  228. #if defined(ARCNET) || defined(SLFP)
  229. #undef  PACKET
  230. #define PACKET        1 /* FTP Software's Packet Driver interface */
  231. #endif
  232.   
  233. #if defined(PC_EC) || defined(PACKET)
  234. #define ETHER        1 /* Generic Ethernet code */
  235. #endif
  236.   
  237. #if defined(BUCKTSR)
  238. #define CALLCLI        1
  239. #undef CALLSERVER    1
  240. #undef ICALL        1
  241. #undef SAMCALLB        1
  242. #undef QRZCALLB        1
  243. #endif
  244.  
  245. #if defined(SAMCALLB)
  246. #define CALLCLI        1
  247. #undef CALLSERVER    1
  248. #undef ICALL        1
  249. #undef BUCKTSR        1
  250. #undef QRZCALLB        1
  251. #endif
  252.   
  253. #if defined(QRZCALLB)
  254. #define CALLCLI        1
  255. #undef CALLSERVER    1
  256. #undef ICALL        1
  257. #undef BUCKTSR        1
  258. #undef SAMCALLB        1
  259. #endif
  260.   
  261. #if defined(CALLSERVER)
  262. #define CALLCLI        1
  263. #endif
  264.   
  265. #if defined(POP2CLIENT) || defined(POP3CLIENT)
  266. #define MAILCLIENT    1
  267. #endif
  268.   
  269. #ifdef POLLEDKISS
  270. #define KISS        1
  271. #endif
  272.   
  273. #ifndef TRACE
  274. #undef MONITOR        1
  275. #undef MONSTAMP        1
  276. #undef TRACESERVER    1
  277. #endif
  278.  
  279. #ifndef MAILBOX
  280. #undef MAILCMDS        1
  281. #undef FILECMDS        1
  282. #undef GATECMDS        1
  283. #undef FOQ_CMDS        1
  284. #undef CALLBOOK        1
  285. #undef CALLCLI        1
  286. #undef EXPIRY        1
  287. #undef MBXTDISC        1
  288. #undef TIPSERVER    1
  289. #undef MAILFOR        1
  290. #undef RLINE        1
  291. #undef MBFWD        1
  292. #undef FBBFWD        1
  293. #undef FBBCMP        1
  294. #undef USERLOG        1
  295. #endif
  296.   
  297. #ifndef MAILCMDS
  298. #undef MAILFOR        1
  299. #undef RLINE        1
  300. #undef MBFWD        1
  301. #undef HOLD_LOCAL_MSGS    1
  302. #endif
  303.   
  304. #ifndef TIPSERVER
  305. #undef XMODEM        1
  306. #endif
  307.   
  308. #ifndef AX25
  309. #undef AX25SESSION    1
  310. #undef AXUISESSION    1
  311. #undef AX25SERVER    1
  312. #undef MAILFOR        1
  313. #undef RLINE        1
  314. #undef MBFWD        1
  315. #undef FBBFWD        1
  316. #undef FBBCMP        1
  317. #undef NRS        1
  318. #undef NETROM        1
  319. #undef NETROMSESSION    1
  320. #undef NETROMSERVER    1
  321. #undef AXIP        1
  322. #undef NR4TDISC        1
  323. #undef TTYCALL        1
  324. #undef BPQ        1
  325. #undef EAGLE        1
  326. #undef SCC        1
  327. #undef KISS        1
  328. #undef POLLEDKISS    1
  329. #undef HAPN        1
  330. #undef PI        1
  331. #undef PC100        1
  332. #undef HS        1
  333. #undef AX25PASSWORD    1
  334. #endif
  335.   
  336. #ifndef NETROM
  337. #undef NETROMSESSION    1
  338. #undef NETROMSERVER    1
  339. #endif
  340.   
  341. #ifndef SMTPSERVER
  342. #undef MAILCMDS        1
  343. #undef MBFWD        1
  344. #undef MAILFOR        1
  345. #undef RLINE        1
  346. #undef TRANSLATEFROM    1
  347. #endif
  348.   
  349. #ifndef MBFWD
  350. #undef FWDFILE        1
  351. #undef FBBFWD        1
  352. #undef FBBCMP        1
  353. #endif
  354.   
  355. #ifndef FBBFWD
  356. #undef FBBCMP        1
  357. #else
  358. #define USERLOG        1 /* need to remember (new)lastread */
  359. #endif
  360.  
  361. #ifndef CONVERS
  362. #undef LINK        1
  363. #undef XCONVERS        1
  364. #undef CNV_VERBOSE    1
  365. #undef CNV_CHAN_NAMES    1
  366. #undef CNV_TOPICS    1
  367. #undef CNV_CALLCHECK    1
  368. #undef CNV_LOCAL_CHANS    1
  369. #undef CNV_ENHANCED_VIA    1
  370. #undef CNV_CHG_PERSONAL    1
  371. #undef CNV_LINKCHG_MSG    1
  372. #endif
  373.  
  374. #ifndef LZW
  375. #undef XCONVERS        1
  376. #endif
  377.  
  378. #if defined(EDITOR) && defined(ED) && defined(TED)
  379. #error Cannot #define both ED and TED
  380. #endif
  381. #if defined(NNTP) && defined(NNTPS)
  382. #error Cannot #define both NNTP and NNTPS
  383. #endif
  384.  
  385. #endif  /* _CONFIG_H */
  386.